<template lang="html">
  <section class="components-common_back_button" style="z-index:990" @click="goToIndex()">
    Back
  </section>
</template>

<script>
export default {
  methods: {
    goToIndex(){
      this.$router.push({ path: '/' })
    }
  }
}
</script>

<style lang="scss" scoped>
@import "../css/config";
.components-common_back_button{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: $backbtn-height;
  font-size: 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: $common-red;
  &:active{
    color: $active-font;
    background-color: $active-bg;
  }
}
</style>
